home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / pragmas / sound_pragmas.h < prev   
Encoding:
C/C++ Source or Header  |  1997-10-30  |  802 b   |  23 lines

  1. #ifndef _INCLUDE_PRAGMA_SOUND_LIB_H
  2. #define _INCLUDE_PRAGMA_SOUND_LIB_H
  3.  
  4. #ifndef CLIB_SOUND_PROTOS_H
  5. #include <clib/sound_protos.h>
  6. #endif
  7.  
  8. #if defined(AZTEC_C) || defined(__MAXON__) || defined(__STORM__)
  9. #pragma amicall(SNDBase,0x006,AllocSoundMem(d0,d1))
  10. #pragma amicall(SNDBase,0x00C,StopAudio())
  11. #pragma amicall(SNDBase,0x012,CheckSound(a0))
  12. #pragma amicall(SNDBase,0x018,FreeSoundMem(d0))
  13. #pragma amicall(SNDBase,0x01E,SetVolume(d0,d1))
  14. #endif
  15. #if defined(_DCC) || defined(__SASC)
  16. #pragma libcall SNDBase AllocSoundMem        006 1002
  17. #pragma libcall SNDBase StopAudio            00C 00
  18. #pragma libcall SNDBase CheckSound           012 801
  19. #pragma libcall SNDBase FreeSoundMem         018 001
  20. #pragma libcall SNDBase SetVolume            01E 1002
  21. #endif
  22.  
  23. #endif    /*  _INCLUDE_PRAGMA_SOUND_LIB_H  */